let integer = 9527;
let s = integer + '';
let b = '';
let length = s.length;
for (let i = 0; i < length; i++) {
    b = b + ((i == 0 || i == length) ? '' : '\t') + s[i];

}
console.log(b);